<template>
 <div>
 <van-tabbar route>
  <van-tabbar-item replace to="/about" icon="home-o">选课</van-tabbar-item>
  <van-tabbar-item replace to="/index" icon="search">我的课</van-tabbar-item>
  <van-tabbar-item replace to="/maowu" icon="fire-o">猫屋</van-tabbar-item>
  <van-tabbar-item replace to="/gongju" icon="setting-o">工具</van-tabbar-item>
  <van-tabbar-item replace to="/my" icon="friends-o">我的</van-tabbar-item>
</van-tabbar>
  <router-view/>

 </div>
</template>

<style lang="less">
html body{
  padding: 0;
  max-width: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
